package com.rest.demo.jdbcdemo.entity;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author Administrator
 * @decription
 * @Date 2017-11-14 14:27
 */
public class UserPo {

    private Integer userId;

    @NotEmpty
    private String userName;

    public UserPo() {
    }

    public UserPo(Integer userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
